package com.zzb.demo.service;

import com.zzb.demo.model.domain.Account;

import java.util.List;

/**
 * @Author zzb
 * @Date 2024/11/26 10:54
 * @Version 1.0
 * @description
 */
public interface SpringService {
    void createDb();

    int addAccount(Account account);

    int updateAccount(Account account);

    int deleteAccount(int id);

    List<Account> findAllAccount();

}
